<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/22 0022
  Time: 11:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>导入index文件</title>
</head>
<body>
<%--设置变量name并赋值--%>
<c:set var="name" value="胡歌无处不在,古月与你同在!"></c:set>

<%--导入本地同目录文件并设置导入编码格式并为导入的文件中--%>
<c:import url="index.jsp" charEncoding="utf-8">
    <c:param name="Name" value="${name}"/><%--设置动态参数--%>
</c:import>
</body>
</html>
